package com.koron.order.repair.mapper;

import com.koron.order.repair.bean.entity.RepairPo;
import com.koron.order.repair.bean.query.RepairQuery;
import com.koron.order.repair.bean.vo.RepairVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (Repair)表数据库访问层
 *
 * @author zhouj
 * @since 2021-09-13 17:42:12
 */
public interface RepairMapper {

    RepairPo queryById(String id);

    List<RepairVo> queryList(RepairQuery query);

    int insert(RepairPo repair);

    int update(RepairPo repair);

    int deleteById(String id);

    int submitRepair(@Param("repairId") String repairId, @Param("status") String status);
}